<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>编辑内容</title>

<script type="text/javascript">
</script>
<script type="text/javascript" src="../scripts/itsm/news/editNews.js"></script>
</head>
<body>
<div id="edit_news" title="" class="easyui-panel" fit="true" border="none" style="padding:3px;">
	<form>
		<input name="newsDTO.lastUpdater" type="hidden" value="${systemUser.loginName}">
		<input name="newsDTO.newId" id="editNews_newId" type="hidden" value="${newsDetailDTO.newId}" />
		<input name="newsDTO.newType" id="editNews_newType" type="hidden" value="${newsDetailDTO.newType}"  />
		<table width="100%">
			<tr>
				<td colspan="2">
					<a onclick="itsm.news.editNews.saveNews()" class="easyui-linkbutton"  icon="icon-save" plain="true">保存</a>
				
				</td>
			</tr>
			<!-- 
			<tr>
				<td>栏目</td>
				<td><select id="editNews_topic" class="input" onchange="itsm.news.editNews.changeCategory(this.value)" ></select></td>
				<td>分类</td>
				<td>
					<select name="newsDTO.categoryId" class="input" id="editNews_category" ></select>
				</td>
			</tr>
			 -->
			
			<tr>
				<td>置&nbsp;&nbsp;&nbsp;&nbsp;顶：
					<input type="radio" name="newsDTO.top" id="editNew_top_yes" value="true" <c:if test="${newsDetailDTO.top}" >checked="checked"</c:if> />是
					<input type="radio" name="newsDTO.top" id="editNew_top_no" value="false" <c:if test="${newsDetailDTO.top eq false}" >checked="checked"</c:if> />否
				</td>
			</tr>	
			<tr>
				<td>关键字：<input name="newsDTO.keyword" id="editNews_keyword" value="${newsDetailDTO.keyword}" style="width: 90%" /></td>
			</tr>	
			<tr>
				<td>标&nbsp;&nbsp;&nbsp;&nbsp;题：<input name="newsDTO.title" value="${newsDetailDTO.title}"id="editNews_title" style="width: 90%"/></td>
			</tr>
			
			<tr>
				<td valign="top">
					<textarea name="newsDTO.content" id="editNews_content" style="height:500px;width: 100%">${newsDetailDTO.content}</textarea>
				</td>
			</tr>
			
		</table>
	</form>
</div>
</body>
</html>